package com.caiyj.command;

/**
 * @Description:
 * @author:CAIYJ
 * @Date:2018/12/14 20:06
 */
public class Invoker {

    Command command;

    public Invoker(Command command) {
        this.command = command;
    }

    public void startExecuteCommand() {
        System.out.println("请求者：我发送一个命令");
        command.execute();
    }
}
